give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Wed, 7 Dec 2022 20:02:44 +0000 (21:02 +0100)
commitd3061348a90e3814380c3d9b5eb28ee23cc156bc
tree9e8223df824a1c57e59a777f371b3c3cb2494b7b
parentc39a29dae1afe5186d1e8779cc4bd1489c5302e3
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c